<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" Inherits="BlogEngine.Core.Web.Controls.PostViewBase" %>
<%@ Import Namespace="BlogEngine.Core" %>


<div class="post xfolkentry">
<span class="breadcrumbs">
<a href="<%=Utils.AbsoluteWebRoot %>"><%=Resources.labels.home %></a> &raquo; <%=CategoryLinks(" | ") %>
</span> 
  <h2 class="title"><%=Server.HtmlEncode(Post.Title) %></h2>
  <div id="stats">
  <span><%=Post.DateCreated.ToLongDateString() %></span>
  <span><%=Resources.labels.author %> <a href="<%=VirtualPathUtility.ToAbsolute("~/") + "author/" + Post.Author %>.aspx"><%=Post.AuthorProfile != null ? Post.AuthorProfile.DisplayName : Post.Author %></a></span>
  <span><a rel="nofollow" href="<%=Post.RelativeLink %>#comment"><%=Post.ApprovedComments.Count %> <%=Resources.labels.comments %></a> </span>
  <span><%=AdminLinks %></span>
  </div> 
  <div class="entry clearfloat">
  <asp:PlaceHolder runat="server" ID="BodyContent"></asp:PlaceHolder>
  </div>
<div id="tools">
<div style="float: left;">
<!-- AddThis Button BEGIN -->
<div><script type="text/javascript">var addthis_pub="song1w";addthis_language='zh';</script>
<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-bookmark-en.gif" width="125" height="16" border="0" alt="" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script></div>
<!-- AddThis Button END -->
</div>
<div style="float: right; width: 220px; "><%=Rating %></div>
</div>
</div>